package outside;

import com.example.anno.MyConditionalOnClass;
import com.example.condition.OnMacCondition;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Conditional;
import org.springframework.context.annotation.Configuration;

@Configuration
@Conditional(OnMacCondition.class)
public class OutConfiguration {

    @Bean
    @MyConditionalOnClass("outside.WestLake")
    public Wind wind() {
        return new Wind();
    }
}
